package com.ruicar.afs.cloud.filecenter.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.filecenter.enums.FileProcessorType;
import lombok.Data;

@Data
@TableName("afs_file_store_processor")
public class AfsFileStoreProcessor {

    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id ;
    /** 处理器类型;前置或者后置
     pre-前置
     post-后置 */
    private FileProcessorType type ;
    /** 处理器注册ID;处理器系统注册id */
    private String registerId ;
}
